package com.ruoyi.user.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 商户管理对象 che_shop
 * 
 * @author ruoyi
 * @date 2025-01-02
 */
public class CheShop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** $column.columnComment */
    private String number;

    /** $column.columnComment */
    private String area;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** $column.columnComment */
    private String intro;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long audit;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;

    /** $column.columnComment */
    private String licence;

    /** $column.columnComment */
    private String cardFront;

    /** $column.columnComment */
    private String cardBack;

    /** $column.columnComment */
    private Long money;

    /** $column.columnComment */
    private BigDecimal accIncome;

    /** $column.columnComment */
    private BigDecimal accOut;

    /** 负责人 */
    @Excel(name = "负责人")
    private String perName;

    /** $column.columnComment */
    private String perPhone;

    /** $column.columnComment */
    private String perPasword;

    /** $column.columnComment */
    private String perCardid;

    /** $column.columnComment */
    private Long deleted;

    /** $column.columnComment */
    private String storeName;

    /** $column.columnComment */
    private String week;

    /** $column.columnComment */
    private Date startTime;

    /** $column.columnComment */
    private Date endTime;

    /** $column.columnComment */
    private Long longitude;

    /** $column.columnComment */
    private Long latitude;

    /** $column.columnComment */
    private Long star;

    /** $column.columnComment */
    private Long sales;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setIntro(String intro) 
    {
        this.intro = intro;
    }

    public String getIntro() 
    {
        return intro;
    }
    public void setAudit(Long audit) 
    {
        this.audit = audit;
    }

    public Long getAudit() 
    {
        return audit;
    }
    public void setCreatTime(Date creatTime) 
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() 
    {
        return creatTime;
    }
    public void setLicence(String licence) 
    {
        this.licence = licence;
    }

    public String getLicence() 
    {
        return licence;
    }
    public void setCardFront(String cardFront) 
    {
        this.cardFront = cardFront;
    }

    public String getCardFront() 
    {
        return cardFront;
    }
    public void setCardBack(String cardBack) 
    {
        this.cardBack = cardBack;
    }

    public String getCardBack() 
    {
        return cardBack;
    }
    public void setMoney(Long money) 
    {
        this.money = money;
    }

    public Long getMoney() 
    {
        return money;
    }
    public void setAccIncome(BigDecimal accIncome) 
    {
        this.accIncome = accIncome;
    }

    public BigDecimal getAccIncome() 
    {
        return accIncome;
    }
    public void setAccOut(BigDecimal accOut) 
    {
        this.accOut = accOut;
    }

    public BigDecimal getAccOut() 
    {
        return accOut;
    }
    public void setPerName(String perName) 
    {
        this.perName = perName;
    }

    public String getPerName() 
    {
        return perName;
    }
    public void setPerPhone(String perPhone) 
    {
        this.perPhone = perPhone;
    }

    public String getPerPhone() 
    {
        return perPhone;
    }
    public void setPerPasword(String perPasword) 
    {
        this.perPasword = perPasword;
    }

    public String getPerPasword() 
    {
        return perPasword;
    }
    public void setPerCardid(String perCardid) 
    {
        this.perCardid = perCardid;
    }

    public String getPerCardid() 
    {
        return perCardid;
    }
    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }
    public void setStoreName(String storeName) 
    {
        this.storeName = storeName;
    }

    public String getStoreName() 
    {
        return storeName;
    }
    public void setWeek(String week) 
    {
        this.week = week;
    }

    public String getWeek() 
    {
        return week;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setLongitude(Long longitude) 
    {
        this.longitude = longitude;
    }

    public Long getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(Long latitude) 
    {
        this.latitude = latitude;
    }

    public Long getLatitude() 
    {
        return latitude;
    }
    public void setStar(Long star) 
    {
        this.star = star;
    }

    public Long getStar() 
    {
        return star;
    }
    public void setSales(Long sales) 
    {
        this.sales = sales;
    }

    public Long getSales() 
    {
        return sales;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("number", getNumber())
            .append("area", getArea())
            .append("address", getAddress())
            .append("intro", getIntro())
            .append("audit", getAudit())
            .append("creatTime", getCreatTime())
            .append("licence", getLicence())
            .append("cardFront", getCardFront())
            .append("cardBack", getCardBack())
            .append("money", getMoney())
            .append("accIncome", getAccIncome())
            .append("accOut", getAccOut())
            .append("perName", getPerName())
            .append("perPhone", getPerPhone())
            .append("perPasword", getPerPasword())
            .append("perCardid", getPerCardid())
            .append("deleted", getDeleted())
            .append("storeName", getStoreName())
            .append("week", getWeek())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("star", getStar())
            .append("sales", getSales())
            .toString();
    }
}
